package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "xtx_user_focus")
public class XtxUserFocus {
    /**
     * 用户关注表id 自增
     */
    @Id
    @Column(name = "user_focus_id")
    private Integer userFocusId;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 关注的用户id
     */
    @Column(name = "focus_user_id")
    private Integer focusUserId;

    /**
     * 状态 0:未启用  1:已启用
     */
    private Integer status;

    @Column(name = "create_time")
    private Date createTime;

    /**
     * 获取用户关注表id 自增
     *
     * @return user_focus_id - 用户关注表id 自增
     */
    public Integer getUserFocusId() {
        return userFocusId;
    }

    /**
     * 设置用户关注表id 自增
     *
     * @param userFocusId 用户关注表id 自增
     */
    public void setUserFocusId(Integer userFocusId) {
        this.userFocusId = userFocusId;
    }

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取关注的用户id
     *
     * @return focus_user_id - 关注的用户id
     */
    public Integer getFocusUserId() {
        return focusUserId;
    }

    /**
     * 设置关注的用户id
     *
     * @param focusUserId 关注的用户id
     */
    public void setFocusUserId(Integer focusUserId) {
        this.focusUserId = focusUserId;
    }

    /**
     * 获取状态 0:未启用  1:已启用
     *
     * @return status - 状态 0:未启用  1:已启用
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置状态 0:未启用  1:已启用
     *
     * @param status 状态 0:未启用  1:已启用
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}